<!-- myfirstvis/templates/pyecharts.html -->
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>my lin3d</title>
    
        <script src="https://pyecharts.github.io/assets/js/echarts.min.js"></script>
    
        <script src="https://pyecharts.github.io/assets/js/None.js"></script>
    
</head>

<body>
  
        <div id="6c35aff090004114990ae5cd861cdad2" style="width:1200px;height:800px;"></div>
        <script type="text/javascript">

var myChart_6c35aff090004114990ae5cd861cdad2 = echarts.init(document.getElementById('6c35aff090004114990ae5cd861cdad2'), 'light', {renderer: 'canvas'});
function on_click(params) {
    alert(params.name);
}

var option_6c35aff090004114990ae5cd861cdad2 = {
    "title": [
        {
            "text": "\u5168\u56fd\u5730\u56fe\u793a\u4f8b",
            "left": "auto",
            "top": "auto",
            "textStyle": {
                "fontSize": 18
            },
            "subtextStyle": {
                "fontSize": 12
            }
        }
    ],
    "toolbox": {
        "show": true,
        "orient": "vertical",
        "left": "95%",
        "top": "center",
        "feature": {
            "saveAsImage": {
                "show": true,
                "title": "save as image"
            },
            "restore": {
                "show": true,
                "title": "restore"
            },
            "dataView": {
                "show": true,
                "title": "data view"
            }
        }
    },
    "series_id": 5002053,
    "tooltip": {
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "textStyle": {
            "fontSize": 14
        },
        "backgroundColor": "rgba(50,50,50,0.7)",
        "borderColor": "#333",
        "borderWidth": 0
    },
    "series": [
        {
            "type": "map",
            "symbol": "circle",
            "label": {
                "normal": {
                    "show": false,
                    "position": "top",
                    "textStyle": {
                        "fontSize": 12
                    }
                },
                "emphasis": {
                    "show": true,
                    "textStyle": {
                        "fontSize": 12
                    }
                }
            },
            "mapType": "china",
            "data": [
                {
                    "name": "\u798f\u5efa",
                    "value": 155
                },
                {
                    "name": "\u5c71\u4e1c",
                    "value": 10
                },
                {
                    "name": "\u5317\u4eac",
                    "value": 66
                },
                {
                    "name": "\u4e0a\u6d77",
                    "value": 78
                }
            ],
            "roam": true,
            "showLegendSymbol": true
        }
    ],
    "legend": [
        {
            "data": [
                ""
            ],
            "selectedMode": "multiple",
            "show": true,
            "left": "center",
            "top": "top",
            "orient": "horizontal",
            "textStyle": {
                "fontSize": 12
            }
        }
    ],
    "animation": true,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597",
        "#f6f5ec"
    ]
};
myChart_6c35aff090004114990ae5cd861cdad2.setOption(option_6c35aff090004114990ae5cd861cdad2);

myChart_6c35aff090004114990ae5cd861cdad2.on("click", on_click);

</script>
        
</body>

</html>